#ifndef _glut_window_h_
#define _glut_window_h_
#include "GlutBase.h"
class Viewport;
class GlutWindow
{
public:
	GlutWindow(char* tile,int w,int h);

	void onSize(int w,int h);

	void render();

	void onSpecialKey(char c,int x,int y);

	Viewport* getViewport();

private:
	int mW;
	int mH;
	string mTitle;
private:
	Viewport* mViewport;
};
#endif